[PATCH 08/23] net: mana: Record port number in netdev
authorLong Li <longli@microsoft.com>
Thu, 3 Nov 2022 19:16:24 +0000 (12:16 -0700)
committerSalvatore Bonaccorso <carnil@debian.org>
Fri, 3 May 2024 12:36:41 +0000 (14:36 +0200)
commit35c65ba157067fc26752fc27e190888dfd21e49e
tree4ebe377c918b2707f82de3b228fea2250fed6fba
parent14b5098acc789e0c57c7012789918c25a4305d5d
[PATCH 08/23] net: mana: Record port number in netdev

The port number is useful for user-mode application to identify this
net device based on port index. Set to the correct value in ndev.

Reviewed-by: Dexuan Cui <decui@microsoft.com>
Signed-off-by: Long Li <longli@microsoft.com>
Link: https://lore.kernel.org/r/1667502990-2559-7-git-send-email-longli@linuxonhyperv.com
Acked-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
(cherry picked from commit d44089e555ffe63a49cc6e94d0c03d933e413059)
Signed-off-by: Bastian Blank <waldi@debian.org>
Gbp-Pq: Topic features/all/ethernet-microsoft
Gbp-Pq: Name 0008-net-mana-Record-port-number-in-netdev.patch
drivers/net/ethernet/microsoft/mana/mana_en.c